package com.rpframework.website.device.domain;

import com.rpframework.core.Domain;
import com.rpframework.core.mybatis.plugin.annotation.FieldMapperAnnotation;
import com.rpframework.core.mybatis.plugin.annotation.TableMapperAnnotation;
import com.rpframework.core.mybatis.plugin.annotation.UniqueKeyType;

/**
 * 互动
 * @author 
 * @date 
 */
@TableMapperAnnotation(tableName="t_interact" ,uniqueKeyType = UniqueKeyType.Single, uniqueKey = "id")
public class Ugc extends Domain{
	private static final long serialVersionUID = 1L;
	/**
	 * 主键
	 */
	@FieldMapperAnnotation
	Integer	id ; 
	/**关联表ID
	 * 
	 */
	@FieldMapperAnnotation
	Integer relativeId; 
	/**
	 * 当前登录用户id
	 */
	@FieldMapperAnnotation
	Integer userId; 
	/**
	 * 当前登录用户发布信息内容
	 */
	@FieldMapperAnnotation
	String	info ; 
	/**
	 * 当前登录用户发布信息位置
	 */
	@FieldMapperAnnotation
	String	address ; 
	/**
	 * 图片数组
	 */
	@FieldMapperAnnotation
	String	urlList ; 
	/**
	 * 关联类型type
	 */
	@FieldMapperAnnotation
	Integer	type ; 
	/**
	 * 状态  1正常  2禁用
	 */
	@FieldMapperAnnotation
	Integer	state ; 
	/**
	 * 创建时间
	 */
	@FieldMapperAnnotation
	Long createTime; 
	/**
	 *修改时间
	 */
	@FieldMapperAnnotation
	Long modifyTime;
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public Integer getRelativeId() {
		return relativeId;
	}
	public void setRelativeId(Integer relativeId) {
		this.relativeId = relativeId;
	}
	public Integer getUserId() {
		return userId;
	}
	public void setUserId(Integer userId) {
		this.userId = userId;
	}
	public String getInfo() {
		return info;
	}
	public void setInfo(String info) {
		this.info = info;
	}
	public String getAddress() {
		return address;
	}
	public void setAddress(String address) {
		this.address = address;
	}
	public String getUrlList() {
		return urlList;
	}
	public void setUrlList(String urlList) {
		this.urlList = urlList;
	}
	public Integer getType() {
		return type;
	}
	public void setType(Integer type) {
		this.type = type;
	}
	public Integer getState() {
		return state;
	}
	public void setState(Integer state) {
		this.state = state;
	}
	public Long getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Long createTime) {
		this.createTime = createTime;
	}
	public Long getModifyTime() {
		return modifyTime;
	}
	public void setModifyTime(Long modifyTime) {
		this.modifyTime = modifyTime;
	}
	public static long getSerialversionuid() {
		return serialVersionUID;
	}
	@Override
	public String toString() {
		return "Ugc [id=" + id + ", relativeId=" + relativeId + ", userId="
				+ userId + ", info=" + info + ", address=" + address
				+ ", urlList=" + urlList + ", type=" + type + ", state="
				+ state + ", createTime=" + createTime + ", modifyTime="
				+ modifyTime + "]";
	} 

	
	
}
